EXTEND 1: Let's experiment with different micro:bit inputs!
The micro:bit's light detector returns a number where 0 means dark and 255 means bright.
- Inside your interval event, find the line that says this: data·=·microbit.get_temp()
- Replace the text that says .get_temp() with .get_light().
- Then, find the line in which you set the title of your scatter plot. Change the title to "Time vs. Light".
To navigate the page using the TAB key, first press ESC to exit the code editor.